<#import "/spring.ftl" as spring/>
<#list initFinances as initFinance>
        <tr>
            <td><p class="table-No">${(pageNo -1) * pageSize + initFinance_index+1}</p></td>
            <td><p class="width-100px">
            	<#if initFinance.realDebitAmount??>
            		<@spring.message "init_finance_create_initialPayment"/>
            	</#if>
            	<#if initFinance.realCreditAmount??>
            		<@spring.message "init_finance_create_initialReceivables"/>
            	</#if>
			</p></td>
            <td><p class="width-150px linkBox" onclick="popup('800px','524px','${adminUri}/init/finance/viewInit?id=${initFinance.id?c}')">
            	<#if initFinance.ognization.ognizationName??>
            		${initFinance.ognization.ognizationName}
            	</#if>
            </p></td>
            <td><p class="width-80px">
            	<#if initFinance.ognization.ognizationSimpleName??>
            		${initFinance.ognization.ognizationSimpleName}
            	</#if>
            </p></td>
            <td><p class="width-80px">
            	<#if initFinance.ognization.legalPerson??>
            		${initFinance.ognization.legalPerson}
            	</#if>
            </p></td>
            <td><p class="width-200px">
            	<#if initFinance.ognization.ognizationAddress??>
            		${initFinance.ognization.ognizationAddress}
            	</#if>
            </p></td>
            <td><p class="width-80px">
            	<#if initFinance.ognization.contactPerson??>
            		${initFinance.ognization.contactPerson}
            	</#if>
            </p></td>
            <td><p class="width-100px">
            	<#if initFinance.ognization.contactPhone??>
            		${initFinance.ognization.contactPhone}
            	</#if>
            </p></td>
            <td><p class="width-80px">${dict.getDictName(initFinance.financeCurrency)}</p></td>
            <td><p class="width-100px textRight">
            	<#if initFinance.realDebitAmount??>
            		${(initFinance.realDebitAmount)?string("#,##0.00")}
            	</#if>
            	<#if initFinance.realCreditAmount??>
            		${(initFinance.realCreditAmount)?string("#,##0.00")}
            	</#if>
            </p></td>
            <td><p class="width-200px">${initFinance.remarks!}</p></td>
            <td><p class="width-80px"></p>${initFinance.createBy.firstName!}${initFinance.createBy.lastName!}</td>
            <td><p class="width-100px"><#if initFinance.createDate??>${(initFinance.createDate)?string("yyyy-MM-dd")}</#if></p></td>
        </tr>
</#list>